.example {
  width: 100%;
  height: 100%;
  padding: 48px 0 0;
  box-sizing: border-box;
  overflow: hidden;
  position: absolute;
}
.content {
  max-width: 100%;
  height: 100%;
  line-height: inherit;
  padding-top: 0;
  padding-right: 0;
  padding-bottom: 0;
  margin-left: 0;
  overflow-y: auto;
  position: relative;
}
.left_wrapper {
  width: 240px;
  height: 100%;
  left: 0;
  position: absolute;
  // padding-top: 100px;
  padding-top: 60px;
  border-right: 1px solid #eee;
  background: #fff;
}
.sidebar_top {
  width: 239px;
  padding: 0 0 0 20px;
  left: 0;
  top: 0;
  position: absolute;
  background: #fff;
  & > a {
    font-size: 16px;
    color: #324053;
    display: block;
    margin: 20px 0;
    &:hover {
      color: #1981ff;
    }
  }
  input.sidebar_search {
    width: 204px;
    height: 24px;
    font-size: 12px;
    outline: 0;
    padding: 0 0 0 26px;
    border: 1px solid #d3d6db;
    border-radius: 26.5px;
    background: url(../../images/example/search.png) 8px center no-repeat;
    background-size: 10px auto;
  }
  .sidebar_search_sug {
    width: 360px;
    list-style: none;
    top: 0;
    left: 0;
    margin: 85px 20px 0;
    z-index: 2;
    position: absolute;
    background: #fff;
    border: 1px solid #edeef0;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    display: none;
  }
}

#code_wrapper {
  height: 100%;
  background: #fff;
  top: 0;
  right: 0;
  position: absolute;
  z-index: 2;
  margin: 0;
  visibility: hidden;
  &.visible {
    visibility: visible;
  }
}
.js_demo_body {
  position: absolute;
  top: 0;
  left: 240px;
  right: 0;
  bottom: 0;
}
.col_resize {
  position: absolute;
  width: 10px;
  height: 100%;
  cursor: col-resize;
  z-index: 5;
  &::before {
    content: '';
    width: 2px;
    height: 100%;
    display: block;
    background: #d5dce0;
    position: absolute;
  }
}
#code_arrow {
  width: 15px;
  height: 94px;
  background: #15a3fa;
  position: absolute;
  top: 50%;
  margin: -48px 0 0 -15px;
  cursor: pointer;
  line-height: 88px;
  font-size: 36px;
  font-weight: 200;
  font-family: Times;
  text-align: center;
  border-radius: 4px 0 0 4px;
  color: #fff;
  visibility: visible;
  left: 0;
  display: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  &.show {
    display: block;
  }
  p {
    display: none;
    margin: 0;
  }
  &.go_back {
    span {
      display: none;
    }
    p {
      display: block;
    }
  }
}
.code_related {
  height: 100%;
  position: relative;
  .code_head {
    height: 41px;
    line-height: 41px;
    color: #767676;
    background: #f8f9fa;
    font-size: 13px;
    padding: 0 10px;
    -moz-user-select: none;
    -webkit-user-select: none;
    border-bottom: 1px solid #e5e5e5;
    &:first-child {
      border-top: 1px solid #e5e5e5;
    }
    a {
      float: right;
      display: block;
      padding: 0 16px;
      color: #414141;
      outline: 0;
      background: url(../../images/example/icon_run.png) 0 14px no-repeat;
      background-size: 13px auto;
      &:hover {
        color: #0097db;
        background-position: 0 -36px;
      }
      &.code_copy {
        background-image: url(../../images/example/icon_copy.png);
      }
      &.code_run {
        background-image: url(../../images/example/icon_run.png);
      }

      &.code_restore {
        background-image: url(../../images/example/icon_restore.png);
        background-position: 0 13px;
        &:hover {
          background-position: 0 -37px;
        }
      }
      &.code_clear {
        background-image: url(../../images/example/icon_clear.png);
      }
    }
  }
}
#code_core {
  width: 379px;
  overflow: hidden;
  height: 100%;
  display: block;
  position: relative;
}
#codes {
  display: none;
}
.code_body {
  width: 100%;
  position: absolute;
  top: 41px;
  bottom: 25%;
}
.CodeMirror {
  height: 100%;
  font-family: 'Microsoft Yahei';
  line-height: 20px;
  font-size: 12px;
  background: #fafafa;
}

#console_wrapper {
  width: 100%;
  height: 25%;
  position: absolute;
  bottom: 0;
  border-top: 1px solid #e5e5e5;
  .code_head {
    cursor: row-resize;
  }
}
#js_console {
  position: absolute;
  top: 41px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: auto;
  background: #fafafa;
  .code_head {
    cursor: row-resize;
  }
  .console_content {
    min-height: 30px;
    padding-left: 18px;
    background: url(../../images/example/input.png) 5px 10px no-repeat;
    vertical-align: top;
  }
  .CodeMirror {
    height: inherit;
  }
}
#output > div {
  border-bottom: 1px solid #f0f0f0;
  padding: 2px 0 2px 20px;
  font-size: 12px;
  background: url(../../images/example/input.png) 5px center no-repeat;
  vertical-align: top;
}

.iframe_wrapper {
  width: auto;
  height: calc(100% - 122px);
  height: 100%;
  border: none;
  z-index: 1;
  margin-left: 0;
  position: relative;
  top: 0;
  bottom: 0;
  iframe{
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
    position: absolute;
    top: 0;
    bottom: 0;
    background: #fff;
  }
  .map_mask {
    width: 100%;
    height: 100%;
    display: none;
    position: absolute;
    z-index: 1;
    show {
      display: block;
    }
  }
}

#js_iframe {

}

.menu_a {
  font-size: 14px;
  color: #586069;
  cursor: pointer;
  margin: 10px 0 5px;

  &:hover {
    color: #3d6eff;
  }

  &.li-select {
    color: #3d6eff;
    font-weight: bold;
  }
}
